package com.cow.support.entity;

/**
 * Userrole entity. @author MyEclipse Persistence Tools
 */

public class Userrole implements java.io.Serializable {

	// Fields

	private Long mapid;
	private Long userid;
	private Long roleid;
	private Long grantor;

	// Constructors

	/** default constructor */
	public Userrole() {
	}

	/** full constructor */
	public Userrole(Long mapid, Long userid, Long roleid, Long grantor) {
		this.mapid = mapid;
		this.userid = userid;
		this.roleid = roleid;
		this.grantor = grantor;
	}

	// Property accessors

	public Long getMapid() {
		return this.mapid;
	}

	public void setMapid(Long mapid) {
		this.mapid = mapid;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Long roleid) {
		this.roleid = roleid;
	}

	public Long getGrantor() {
		return this.grantor;
	}

	public void setGrantor(Long grantor) {
		this.grantor = grantor;
	}

}